﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace jacSocket
{
    public interface jacEvent
    {
        /// <summary>
        /// 用户进入事件
        /// </summary>
        /// <remarks>object为ClassSocketPacket</remarks>
        void userEnter(object data);
        /// <summary>
        /// 数据传入事件
        /// </summary>
        /// <remarks>object为string</remarks>
        void gotData(object data);
        /// <summary>
        /// 用户离开事件
        /// </summary>
        /// <remarks>object为ClassSocketPacket</remarks>
        void delUser(object data);
    }
}
